package net.thxjj.adminServer.service;

import java.util.HashMap;
import java.util.List;

import net.thxjj.sitermodel.ParamProperty;
import org.springframework.stereotype.Component;

import net.thxjj.adminServer.util.ParameterMap;

@Component
public interface IParamService {
    public List<ParamProperty> list(String prod_key);
	public ParamProperty getParamInfo(long id);
	public ParamProperty getParamInfoByProdAndParam(String prod_key,String identifier);
	public List<ParamProperty> getParamInfos(ParameterMap pm);
	public HashMap<String, Object> addParam(ParameterMap pm);
	public HashMap<String,Object> edit(ParameterMap pm); 
	public HashMap<String, Object> del(long id);
}
